package com.example.weixin_01.test.design_model.proxy;

/**
 * @Author: zhenghuisheng
 * @Date: 2022/9/10 17:54
 * 厂商销售手机
 */
public class Factory implements PhoneSell {

    /**
     * 卖手机，1800一部
     * @param amount
     * @return
     */
    @Override
    public Double sell(Integer amount) {
        Double price = Double.valueOf(amount * 1800);
        return price;
    }
}
